package com.pubinfo.passbook.common.model.dto.contract;

import com.pubinfo.passbook.common.enums.ContractStatusEnum;
import com.pubinfo.passbook.common.enums.ContractTypeEnum;
import com.pubinfo.passbook.common.model.dto.system.PageParamBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(value = "ContractListParam", description = "合同列表查询参数")
public class ContractListParam extends PageParamBase {
  
  @ApiModelProperty(hidden = true)
  private Long orgId;
  
  @ApiModelProperty(value = "关键字")
  private String keyword;
  
  @ApiModelProperty("承办人")
  private String contractorUser;
  @ApiModelProperty("单位")
  private String company;
  
  @ApiModelProperty("年份 格式 yyyy")
  private Integer contractYear;
  @ApiModelProperty("承接部门")
  private String department;
  @ApiModelProperty(value = "合同状态 NO_CLAIM 未认领 , CLAIMED 已认领  ,CLOSE 关闭")
  private ContractStatusEnum status;
  
  @ApiModelProperty("合同编号")
  private String contractCode;
  
  @ApiModelProperty("合同名称")
  private String contractName;
  
  @ApiModelProperty("合同金额")
  private BigDecimal contractAmount;
  
  @ApiModelProperty("合同类型：TRIAL：初期清洗试用数据，FORMAL：正式上线生产数据")
  private ContractTypeEnum contractType;
  
  @ApiModelProperty(hidden = true)
  public String roleCode;
  
  @ApiModelProperty(hidden = true)
  public String acct;
}
